projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
280cf93
)
Make the reverse tabulated list sort stable
author
Johan Claesson
<johanclaesson@bredband.net>
Fri, 20 Sep 2019 22:06:58 +0000
(
00:06
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 20 Sep 2019 22:06:58 +0000
(
00:06
+0200)
* lisp/emacs-lisp/tabulated-list.el (tabulated-list--get-sorter):
Make the reverse sorting stable (bug#37174).
Copyright-paperwork-exempt: yes
lisp/emacs-lisp/tabulated-list.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/tabulated-list.el
b/lisp/emacs-lisp/tabulated-list.el
index 63ae1f8c07288918a1cd83bb9fc48ea56e7e81a2..f30e2c0ec8e4034897e794ea30801cc0ea88d2d2 100644
(file)
--- a/
lisp/emacs-lisp/tabulated-list.el
+++ b/
lisp/emacs-lisp/tabulated-list.el
@@
-373,7
+373,7
@@
column. Negate the predicate that would be returned if
(if (stringp b) b (car b)))))))
;; Reversed order.
(if (cdr tabulated-list-sort-key)
- (lambda (a b) (
not (funcall sorter a b)
))
+ (lambda (a b) (
funcall sorter b a
))
sorter))))
(defsubst tabulated-list--col-local-max-widths (col)